<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>聚企业</title>
    <link rel="stylesheet" href="../../lib/css/reset.min.css">
    <link rel="stylesheet" href="../../lib/css/swiper.min.css">
    <link rel="stylesheet" href="../../css/all.min.css">
    <link rel="stylesheet" href="../../lib/css/elementui.min.css">
</head>

<body>
    <div class="app-wrap" v-cloak id="jqy_i">
        <header-top></header-top>
        <header-search-global type="企业"></header-search-global>
        <common-top-nav cur="聚企业"></common-top-nav>
        <div class=" bg-gray">
            <!--<img :src="topimg" class="jqy-topimg">-->
            <common-swiper :bannerlist="bannerlist" v-if="bannerlist"></common-swiper>
            <div class="container">
                <!-- 最新入驻 -->
                <div class="jqy-title pt-40">
                    <i class="icon-jqy-i i1"></i>
                    <span>最新入驻</span>
                </div>
                <div class="jqy-hot-wrap" v-if="hot.length>0">
                    <a href="javascript:;"><img :src="ruzhulist[0].picUrl"></a>
                    <div class="shop-list">
                        <a :href="location+'/jqiye/jqiye_details.html?id='+shop.id" v-for="(shop,index) of hot" v-if="index>0" class="img-wrap">
                            <img if="index!=0" :src="shop.logoUrl">
                        </a>
                    </div>
                </div>
                <!-- 推荐企业 -->
                <div class="jqy-title">
                    <i class="icon-jqy-i i2"></i>
                    <span>推荐企业</span>
                    <a :href="location+'/jqiye/jqiye_list.html?type=1'" class="more">更多<span class="font-arr">></span></a>
                </div>
                <div class="jqy-qiye-wrap">
                    <div class="jqy-qiye-wrap">
                        <div class="item" v-for="item in qiyerecommenlist">
                            <div class="item-title">
                                <div class="item-title-logo"><img :src="item.logoUrl"></div>
                                <div class="item-title-text">
                                    <h1>{{item.name}}</h1>
                                    <p><i class="icon-jqy_collect"></i>{{item.lovecount}}人</p>
                                </div>
                            </div>
                            <p>{{item.introduce}}</p>
                            <div class="item-btn">
                                <a v-show = "item.followId != null" @click="delFollow(item.followId)">取消关注</a>
                                <a v-show = "item.followId == null" @click="addFollow(item.id)">关注</a>

                                <a :href="location+'/jqiye/jqiye_details.html?id='+item.id">企业详情</a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 特色企业 -->
                <div class="jqy-title">
                    <i class="icon-jqy-i i3"></i>
                    <span>特色企业</span>
                    <a :href="location+'/jqiye/jqiye_list.html?type=2'" class="more">更多<span class="font-arr">></span></a>
                </div>
                <div class="jqy-qiye-wrap">
                    <div class="item" v-for="item in qiyelist">
                        <div class="item-title">
                            <div class="item-title-logo"><img :src="item.logoUrl"></div>
                            <div class="item-title-text">
                                <h1>{{item.name}}</h1>
                                <p><i class="icon-jqy_collect"></i>{{item.lovecount}}人</p>
                            </div>
                        </div>
                        <p>{{item.introduce}}</p>
                        <div class="item-btn">
                            <a v-show = "item.followId != null" @click="delFollow(item.followId)">取消关注</a>
                            <a v-show = "item.followId == null" @click="addFollow(item.id)">关注</a>
                            <a :href="location+'/jqiye/jqiye_details.html?id'+item.id">企业详情</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <common-footer></common-footer>
    </div>
    <script src="../../lib/js/vue.js"></script>
    <script src="../../lib/js/swiper.min.js"></script>
    <script src="../../lib/js/swiper.min.js"></script>
    <script src="../../lib/js/axios.min.js"></script>
    <!-- mock 数据 打包发布的时候记得移除 -->
    <script src="../../lib/js/mock.js"></script>
    <script src="../../js/all.min.js"></script>
    <script src="../../lib/js/elementui.min.js"></script>
    <script>
        jqy_i();
    </script>
</body>

</html>